package com.naiterui.ehp.bs.doctor.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@ApiModel(value = "DepartmentCascadeVo", description = "科室VO")
public class DepartmentCascadeVo implements Serializable{
    
    private static final long serialVersionUID = 5597114548388509602L;

    @ApiModelProperty(value = "科室id")
    private Integer departId;

    @ApiModelProperty(value = "科室名称")
    private String departName;

    @ApiModelProperty(value = "父级科室ID")
    private int parentId;

    @ApiModelProperty(value = "二级科室信息")
    private List<DepartmentVo> secondDepart = new ArrayList<>();

    public Integer getDepartId() {
        return this.departId;
    }
    public void setDepartId(Integer departId) {
        this.departId = departId;
    }
    public String getDepartName() {
        return this.departName;
    }
    public void setDepartName(String departName) {
        this.departName = departName;
    }
    public int getParentId() {
        return this.parentId;
    }
    public void setParentId(int parentId) {
        this.parentId = parentId;
    }
    public List<DepartmentVo> getSecondDepart() {
        return this.secondDepart;
    }
    public void setSecondDepart(List<DepartmentVo> secondDepart) {
        this.secondDepart = secondDepart;
    }
}


